//
//  LKAddOrderModel.h
//  YLHelper
//
//  Created by she1323 on 2018/5/30.
//  Copyright © 2018年 she1323. All rights reserved.
//

#import "LKBaseModel.h"
#import "YLInvestmentCertificateModel.h"

@interface LKAddVoucherModel:LKBaseModel

/**
 客户卷ID
 */
@property(nonatomic,copy)NSString *CustomerVoucherId;

/**
 优惠卷卷名
 */
@property(nonatomic,copy)NSString *VoucherName;

/**
 是否可以叠加使用
 */
@property(nonatomic,copy)NSString *IsSuperposition;

- (NSDictionary *)properties_aps;

@end



@interface LKAddAttachModel:LKBaseModel
/**
 附件名称
 */
@property(nonatomic,copy)NSString *AttachName;

/**
 附件图片URL
 */
@property(nonatomic,copy)NSString *AttachUrl;

@property(nonatomic,copy)NSString *OrderAttachCategory;

@property(nonatomic,copy)NSString *OrderInfoId;

@property(nonatomic,copy)NSString *Suffix;

@property(nonatomic,copy)NSString *Version;

@property(nonatomic,copy)NSString *AttachId;
@end;

@interface LKAddOrderModel : LKBaseModel

/**
 订单编号
 */
@property(nonatomic,copy)NSString *OrderCode;

/**
 客户编号
 */
@property(nonatomic,copy)NSString *CustomerCode;

/**
 客户姓名
 */
@property(nonatomic,copy)NSString *CustomerName;

/**
 客户ID
 */
@property(nonatomic,copy)NSString *CustomerId;

/**
 证件类型
 */
@property(nonatomic,copy)NSString *IdentitfyCategory;

/**
 证件号码
 */
@property(nonatomic,copy)NSString *IdentityId;

/**
 身份证复印件正面
 */
@property(nonatomic,copy)NSString *IdentitfyPhotoUrl;

/**
 身份证复印件反面
 */
@property(nonatomic,copy)NSString *IdentitfyBackPhotoUrl;


/**
 城市
 */
@property(nonatomic,copy)NSString *City;

/**
 地址
 */
@property(nonatomic,copy)NSString *Address;

/**
 产品ID
 */
@property(nonatomic,copy)NSString *ProductId;

/**
 产品编号
 */
@property(nonatomic,copy)NSString *ProductCode;

/**
 产品名称
 */
@property(nonatomic,copy)NSString *ProductName;

/**
 起投金额
 */
@property(nonatomic,copy)NSString *LeastMoney;

/**
 递增额度
 */
@property(nonatomic,copy)NSString *IncreaseRadix;

/**
 收益类型
 */
@property(nonatomic,copy)NSString *ProductCategory;

/**
 产品类型文字
 */
@property(nonatomic,copy)NSString *ProductCategoryS;

/**
 产品期限
 */
@property(nonatomic,copy)NSString *ProductTerm;

/**
 分配方式
 */
@property(nonatomic,copy)NSString *PayCategory;

/**
 年化利率
 */
@property(nonatomic,copy)NSString *ProductAnnualizedYield;

/**
 附加利率
 */
@property(nonatomic,copy)NSString *AdditionalInterestRate;

/**
 是否续投
 */
@property(nonatomic,copy)NSString *IsContinuedInvestment;

/**
 订单编号
 */
@property(nonatomic,copy)NSString *ContractCode;

/**
 支付方式
 */
@property(nonatomic,copy)NSString *PaymentCategory;

/**
 投资金额
 */
@property(nonatomic,copy)NSString *InvestmentAmount;

/**
 起息日
 */
@property(nonatomic,strong)NSString *CalulationDate;

/**
 起息日文字
 */
@property(nonatomic,copy)NSString *CalulationDateTest;

/**
 到期日
 */
@property(nonatomic,copy)NSString *EnExpireDate;

/**
 到期日文字
 */
@property(nonatomic,copy)NSString *EnExpireDateTest;

/**
 回款银行卡ID
 */
@property(nonatomic,copy)NSString *RepayBankCardId;

/**
 回款银行卡号
 */
@property(nonatomic,copy)NSString *RepayAccountCode;

/**
 回款银行卡开户行名称
 */
@property(nonatomic,copy)NSString *RepayBankName;


@property(nonatomic,copy)NSString *EndEntityDateTest;

@property(nonatomic,copy)NSString *EndEntityDate;
/**
 回款银行卡开户行支行
 */
@property(nonatomic,copy)NSString *RepayBankBranch;

/**
 回款银行卡证件复印件
 */
@property(nonatomic,copy)NSString *RepayAccountPhotoUrl;

/**
 回款银行卡开户行支行省市
 */
@property(nonatomic,copy)NSString *RepayBankCity;

/**
 回款银行卡复印件必须填写
 */
@property(nonatomic,copy)NSString *RepayAccountName;

/**
 是否客户已经认证
 */
@property(nonatomic,copy)NSString *CusIsAuthenticated;

/**
 划扣款银行卡ID
 */
@property(nonatomic,copy)NSString *PayBankCardId;

/**
 划扣款银行卡号
 */
@property(nonatomic,copy)NSString *PayAccountCode;

/**
 划扣款银行卡开户行名称
 */
@property(nonatomic,copy)NSString *PayBankName;

/**
 划扣款银行卡开户行支行
 */
@property(nonatomic,copy)NSString *PayBankBranch;

/**
 划扣款银行卡开户行支行省市
 */
@property(nonatomic,copy)NSString *PayBankCity;

/**
 划扣款银行开户人
 */
@property(nonatomic,copy)NSString *PayAccountName;


/**
 划扣款银行卡复印件
 */
@property(nonatomic,copy)NSString *PayAccountPhotoUrl;

/**
 交易参考号
 */
@property(nonatomic,copy)NSString *TransactionReferenceNumber;

/**
 POS机终端号
 */
@property(nonatomic,copy)NSString *PosCode;

/**
 所属销售经理ID
 */
@property(nonatomic,copy)NSString *Owner;

/**
 所属销售经理部门编号
 */
@property(nonatomic,copy)NSString *OwnerDepartmentCode;

/**
 其他申请或补充说明事项
 */
@property(nonatomic,copy)NSString *Supplement;

/**
 订单状态
 */
@property(nonatomic,copy)NSString *ApprovalStatus;

/**
 变更附件
 */
@property(nonatomic,copy)NSString *OrderAttachsChange;

@property(nonatomic,copy)NSArray<LKAddAttachModel *>*OrderAttachs0;

/**
 合同首页
 */
@property(nonatomic,copy)NSArray<LKAddAttachModel *>*OrderAttachs1;

/**
 合同详情
 */
@property(nonatomic,copy)NSArray<LKAddAttachModel *>*OrderAttachs2;

/**
 pos凭证
 */
@property(nonatomic,copy)NSArray<LKAddAttachModel *>*OrderAttachs3;

/**
 所属销售经理ID
 */
//@property(nonatomic,copy)NSString *Owner;

/**
 所属人姓名
 */
@property(nonatomic,copy)NSString *OwnerName;

/**
 主管
 */
@property(nonatomic,copy)NSString *Director;

/**
 总监
 */
@property(nonatomic,copy)NSString *SalesDepartment;

/**
 分总
 */
@property(nonatomic,copy)NSString *BranchCompany;

/**
 区总
 */
@property(nonatomic,copy)NSString *Area;

//是否续投

@property(nonatomic,copy)NSString *IsContinuedInvestment_not;

/**
 追加金额(续投时候传)
 */
@property(nonatomic,copy)NSString *ContinueInvestmentAmount;

/**
 上个订单编号
 */
@property(nonatomic,copy)NSString *PreviousContractCode;

/**
 原合同金额
 */
@property(nonatomic,copy)NSString *PreviousOrderInvestmentAmount;

/**
 原订单编号
 */
@property(nonatomic,copy)NSString *PreviousOrderCode;

/**
 银行卡预留手机号
 */
@property(nonatomic,copy)NSString *BankCardTel;

/**
 优惠券
 */
@property(nonatomic,strong)NSArray <YLInvestmentCertificateModel *>*OrderVoucher;

@property(nonatomic,copy)NSString *ChangeEdit;

//Model 到字典
- (NSDictionary *)properties_aps;
@end
